﻿namespace B.S.Procurement.Read.Api.DTO
{
    public class DetailsDto
    {
        //主键
        public int DetailsId { get; set; }
        //产品名称
        public string DetailsName { get; set; }
        //产品编号
        public string DetailsNumber { get; set; }
        //规格型号
        public string DetailsCard { get; set; }
        //单位
        public string Unit { get; set; }
        //数量
        public int Num { get; set; }
        //未税单价
        public decimal TaxPrice { get; set; }
        //折扣
        public decimal Discount { get; set; }
        //未税折后单价
        public decimal DiscountPrice { get; set; }
        //含税单价
        public decimal TaxIncludedPrice { get; set; }
        //含税折后单价
        public decimal TaxDiscountPrice { get; set; }
        //票据类型
        public string Bill { get; set; }
        //税率
        public decimal Rate { get; set; }
        //含税折后总价
        public decimal TaxDiscountSum { get; set; }
        //明细优惠
        public decimal ItemizedOffers { get; set; }
        //优惠后单价
        public decimal DiscountAfterPrice { get; set; }
        //优惠后单价（未税）
        public decimal DiscountAfter { get; set; }
        //未税金额
        public decimal BeforeTaxPrice { get; set; }
        //税额
        public decimal Tax { get; set; }
        //优惠后总价格
        public decimal DiscountAfterSum { get; set; }
        //交货日期
        public DateTime DeliveryDate { get; set; }
        //备注
        public string Remark { get; set; }
        //逻辑删
        public bool Del { get; set; }


        //单据主键
        public int SaleId { get; set; }

        //来源单据类型
        public string DocumentType { get; set; }
        //客户名称
        public string ClientNumber { get; set; }
        //签约日期
        public DateTime AgencyTime { get; set; }
        //合同主题
        public string ContractSubject { get; set; }
        //合同编号
        public string ContractNumber { get; set; }
        //起始日期
        public DateTime StartTime { get; set; }
        //截止日期
        public DateTime EndTime { get; set; }
        //我方代表
        public int UserId { get; set; }
        //对方代表
        public int ClientId { get; set; }
        //合同类别
        public string ContractCategory { get; set; }
        //销售人员
        public string Salespeople { get; set; }
        //制单人员
        public string DocumentMakers { get; set; }
        //制单日期
        public DateTime Time { get; set; }
        //合同总额
        public string ContractSum { get; set; }
        //优惠总额
        public string PreferentialSum { get; set; }
        //优惠后总额
        public string PreferentialAfterSum { get; set; }
        //运杂费
        public string After { get; set; }
        //收款计划
        public string miscellaneous { get; set; }
        //开票计划
        public string Billing { get; set; }
        //开票类型
        public string BillingType { get; set; }
        //收货人
        public string Consignee { get; set; }
        //固定电话
        public string Landline { get; set; }
        //手机号码
        public string MobilePhone { get; set; }
        //详细地址
        public string FullAddress { get; set; }
    }
}
